package com.woniu.entity;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 房贷产品
 */
public class CreProduct extends BaseEntity {
    private static final long serialVersionUID = 3547160303157533345L;

    /* 产品编号 */
    private Integer id;

    /* 产品名称 */
    private String productName;

    /* 图片 */
    private String image;

    /* 资金方 */
    private String escrow;

    /* 审核状态Y */
    private String auditStatus;

    /* 启用状态Y */
    private String enableStatus;

    /* 月利率 */
    private double monthRate;

    /* 咨询费率 */
    private double consultingRate;

    /* 保证金费率 */
    private double marginRate;

    /* 还款方式 */
    private String paymentMethod;

    /* 贷款期限 */
    private String loanTerm;

    /* 创建者 */
    private String creater;

    /* 更新者 */
    private String updater;

    /* 创建时间 */
    private Date creatTime;

    /* 更新时间 */
    private Date updateTime;

    public CreProduct() {
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getEscrow() {
        return escrow;
    }

    public void setEscrow(String escrow) {
        this.escrow = escrow;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getEnableStatus() {
        return enableStatus;
    }

    public void setEnableStatus(String enableStatus) {
        this.enableStatus = enableStatus;
    }

    public double getMonthRate() {
        return monthRate;
    }

    public void setMonthRate(double monthRate) {
        this.monthRate = monthRate;
    }

    public double getConsultingRate() {
        return consultingRate;
    }

    public void setConsultingRate(double consultingRate) {
        this.consultingRate = consultingRate;
    }

    public double getMarginRate() {
        return marginRate;
    }

    public void setMarginRate(double marginRate) {
        this.marginRate = marginRate;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getLoanTerm() {
        return loanTerm;
    }

    public void setLoanTerm(String loanTerm) {
        this.loanTerm = loanTerm;
    }

    @Override
    public String toString() {
        return "CreProduct{" +
                "id=" + id +
                ", productName='" + productName + '\'' +
                ", image='" + image + '\'' +
                ", escrow='" + escrow + '\'' +
                ", auditStatus='" + auditStatus + '\'' +
                ", enableStatus='" + enableStatus + '\'' +
                ", monthRate='" + monthRate + '\'' +
                ", consultingRate='" + consultingRate + '\'' +
                ", marginRate='" + marginRate + '\'' +
                ", paymentMethod='" + paymentMethod + '\'' +
                ", loanTerm='" + loanTerm + '\'' +
                ", creater='" + creater + '\'' +
                ", updater='" + updater + '\'' +
                ", creatTime=" + creatTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
